package lxt.entity;
// default package

import java.util.Date;
import lxt.entity.InvoiceInfo;


/**
 * BorrowTruckInfo entity. @author MyEclipse Persistence Tools
 */

public class BorrowTruckInfo  implements java.io.Serializable {

	private static final long serialVersionUID = 1L;
    // Fields    

     /**
	 * 
	 */
	private String id;
     private InvoiceInfo invoiceInfo;
     private String truckId;
     private String ownerName;
     private double unitFee;
     private double cargoQuantity;
     private double totalCharge;
     private Date entryTime;
     private Integer isPayed;
     private String note;


    // Constructors

    /** default constructor */
    public BorrowTruckInfo() {
    }

	/** minimal constructor */
    public BorrowTruckInfo(InvoiceInfo invoiceInfo, String truckId) {
        this.invoiceInfo = invoiceInfo;
        this.truckId = truckId;
    }
    
    /** full constructor */
    public BorrowTruckInfo(InvoiceInfo invoiceInfo, String truckId, String ownerName, long unitFee, long cargoQuantity, long totalCharge, Date entryTime, Integer isPayed, String note) {
        this.invoiceInfo = invoiceInfo;
        this.truckId = truckId;
        this.ownerName = ownerName;
        this.unitFee = unitFee;
        this.cargoQuantity = cargoQuantity;
        this.totalCharge = totalCharge;
        this.entryTime = entryTime;
        this.isPayed = isPayed;
        this.note = note;
    }

   
    // Property accessors

    public String getId() {
        return this.id;
    }
    
    public void setId(String id) {
        this.id = id;
    }

    public InvoiceInfo getInvoiceInfo() {
        return this.invoiceInfo;
    }
    
    public void setInvoiceInfo(InvoiceInfo invoiceInfo) {
        this.invoiceInfo = invoiceInfo;
    }

    public String getTruckId() {
        return this.truckId;
    }
    
    public void setTruckId(String truckId) {
        this.truckId = truckId;
    }

    public String getOwnerName() {
        return this.ownerName;
    }
    
    public void setOwnerName(String ownerName) {
        this.ownerName = ownerName;
    }

    public double getUnitFee() {
        return this.unitFee;
    }
    
    public void setUnitFee(double unitFee) {
        this.unitFee = unitFee;
    }

    public double getCargoQuantity() {
        return this.cargoQuantity;
    }
    
    public void setCargoQuantity(double cargoQuantity) {
        this.cargoQuantity = cargoQuantity;
    }

    public double getTotalCharge() {
        return this.totalCharge;
    }
    
    public void setTotalCharge(double totalCharge) {
        this.totalCharge = totalCharge;
    }

    public Date getEntryTime() {
        return this.entryTime;
    }
    
    public void setEntryTime(Date entryTime) {
        this.entryTime = entryTime;
    }

    public Integer getIsPayed() {
        return this.isPayed;
    }
    
    public void setIsPayed(Integer isPayed) {
        this.isPayed = isPayed;
    }

    public String getNote() {
        return this.note;
    }
    
    public void setNote(String note) {
        this.note = note;
    }
   








}